package RPPM.service;
import RPPM.domain.*;

import java.util.List;
import java.util.Map;

public interface ManagerService {
    public boolean SaveTeacher(Teacher teacher);
    public boolean SaveExecutor(Executor executor);

    List<Map<String, Object>> getStudents();

    List<Map<String, Object>> getTeachers();

    List<Map<String, Object>> getPlans();
    boolean addPlan(List<Map<String, Object>> datalist);

    boolean addStudent(List<Map<String, Object>> datalist);

    boolean addTeacher(List<Map<String, Object>> datalist);

    boolean deleteStudent(int stuid);

    boolean deleteTeacher(int teaid);

    boolean deletePlan(int couid);

    List<Map<String, Object>> findTeacher(String searchText);

    List<Map<String, Object>> findStudent(String searchText);

    List<Map<String, Object>> findPlan(String searchText);

    boolean changeStudent(int stuid, String column, String change);

    boolean changeTeacher(int teaid, String column, String change);

    boolean changePlan(int couid, String column, String change);
}
